//
//  RadioDetailProgram_List.m
//  __PRODUCTNAME__
//
//  Created by dllo on 16/09/19
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "RadioDetailProgram_List.h"
#import "RadioDetailPrograms.h"

@implementation RadioDetailProgram_List

+ (NSDictionary *)objectClassInArray{
    return @{@"programs" : [RadioDetailPrograms class]};
}

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"programs"]) {
        _programs = [self arrayWithClass:[RadioDetailPrograms class] value:value];
    }
}

@end
